
@if(Session::has('success'))
<!-- 成功提示 -->
<div class="alert alert-success alert-dismissible">
    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
    <h4><i class="icon fa fa-check"></i> 成功！</h4>
    {{Session::get('success')}}
</div>
@endif

@if(Session::has('error'))
<!-- 失败提示 -->
<div class="alert alert-danger alert-dismissible">
    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
    <h4><i class="icon fa fa-check"></i> 失败!</h4>
    {{Session::get('error')}}
</div>
@endif